fixed problem with building non-existent items