prevent bug with empty String inside error message