Fixed routes loading layout recurrsively issue