admin maintenance controller bug fix