build profile fixes