release version 0.5.0
fix remaining issues