fixing some errors with initial pin configuration