fixed reading from GET method issue