Fixes obviouses errors