fix core strict standards errors
Merge pull request #366 from meloniq/strict-standards

Fix core strict standards errors