Bugfix convert to php with null value