fix #24 badly placed error notification