Fixes error and clean site code