[solved] segmentation fault problem