Fix some basic errors, make this compile