fixed width of volume input, removed UNIX_TIMESTAMP() to work with sqlite