Lutris does not recognise steam proton games

Hello, first time user. I wanted to import all my steam games to lutris. i synced them and all the games appeared. However, they were all uninstalled so I selected them one by one and pressed install which made lutris recognize them. There was no problems with Linux games however when I got to a game I play with proton and pressed install, it tried to install it with wine instead of recognizing the game. I also tried to manually add the game with steamapp id but that made the game appear without any images. So what should I do to make the proton games recognized with lutris?