fix "Strict standards" errors