fixed some minor bugs with building of the app