Fixing Sapp constructor