prompt undefined fix

fix single quote & undefined