resolved the error bug