fixing logic of default recipe