fixed cate error msg and added loader