fixed the 'enter' key not working. black magic.