Fixed end in wrong place