Government will take action on schools