recoded

some little mistakes was fixed