Fixed the make errors with msg