Fixes errors. Block working.