Problem in loading template page