fixed svg creating