Slight bug fix