Fixing create visit