variable name issue fixed