fixed some errors with maintenance update