fixed references to constants

else it does not work :D