fixing decfect #86