Error in BufferedReader value storage