And another if-else for auto fixed. Now it works.