Fixed stupid errors

Fixed some stupid errors I made with array declarations, and some
modifier methods.