fixing vulnerable points