error messages, seems to work, error related to other bugs