Fixes error raising in apps