force imageUrl to be null in register