fixing the exception throwed from the aspects