set loading view when create