PM-790 : fixed bug when errormessage is an array
PM-790 : deleted unnecessary folder