fixing some shit up for build