Fix #127
fix #130 I think
Added slot specification Fixed #129
Fixed #128