bug with building details template in production. fix attempt 1