fixed profile bug with new graph layout