fixed app version logging error

Fixed the version error. Displays version in development environment as well.