error with retrieving string key. need to switch to input style