fixes favorite create and destroy bug