Uttar Pradesh Deputy Chief Minister Brajesh Pathak on Monday said that the survey at the mosque in Sambhal was being carried out under the orders of the court and that a fair investigation would be carried out into the violence incident that claimed the lives of 4 and injured many yesterday.