fixing errors from error log
fixing errors from error log