fixed int parseing