Remove unneeded logging and fix css name getter