finally fixed input... i fucking hope so