Fixing int conversion prob