fixed class "Position" to make it usable