Fixes missing variables