fix site creation bug