stupid str/int error