Minor bug fixes

now you can buil and work on