Revert "fixed an error with prompt function"

This reverts commit aef3f44bdcacdeac4fd93201663328a7ab30c4de.