solved the movement interger on zero db select

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
updated todos

Signed-off-by: Alexander Skjolden <alex@plastboks.net>