changed pin order
fixed home error