modified errorwq