dirty fix for xsp