bugfix: php warning if some constants aren't defined