Fixes obvious bug