fixed bugs
added local library files