Fixes code