Raphaels application fix