fixed implementation problems on normal graph fit