removing bug of resful