Fixed apperror

****