fixed #5, fixed a bug which caused the orm not to select primarykeys