fix php strict error