fix strict standards warning

This fixes a warning with strict standards when debug mode is enabled.