Arduino reset problem fixed