Fixed CSS error, removed debug, cleaned if statement