Dealt with some errors that were popping up.