bug with building application