Fix protectedHandler