Fixes code a little